<!DOCTYPE html>

<html>
  <head>
    <title>Protocol Documentation</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>
    <style>
      body {
        width: 60em;
        margin: 1em auto;
        color: #222;
        font-family: "Ubuntu", sans-serif;
        padding-bottom: 4em;
      }

      h1 {
        font-weight: normal;
        border-bottom: 1px solid #aaa;
        padding-bottom: 0.5ex;
      }

      h2 {
        border-bottom: 1px solid #aaa;
        padding-bottom: 0.5ex;
        margin: 1.5em 0;
      }

      h3 {
        font-weight: normal;
        border-bottom: 1px solid #aaa;
        padding-bottom: 0.5ex;
      }

      a {
        text-decoration: none;
        color: #567e25;
      }

      table {
        width: 100%;
        font-size: 80%;
        border-collapse: collapse;
      }

      thead {
        font-weight: 700;
        background-color: #dcdcdc;
      }

      tbody tr:nth-child(even) {
        background-color: #fbfbfb;
      }

      td {
        border: 1px solid #ccc;
        padding: 0.5ex 2ex;
      }

      td p {
        text-indent: 1em;
        margin: 0;
      }

      td p:nth-child(1) {
        text-indent: 0;  
      }

       
      .field-table td:nth-child(1) {  
        width: 10em;
      }
      .field-table td:nth-child(2) {  
        width: 10em;
      }
      .field-table td:nth-child(3) {  
        width: 6em;
      }
      .field-table td:nth-child(4) {  
        width: auto;
      }

       
      .extension-table td:nth-child(1) {  
        width: 10em;
      }
      .extension-table td:nth-child(2) {  
        width: 10em;
      }
      .extension-table td:nth-child(3) {  
        width: 10em;
      }
      .extension-table td:nth-child(4) {  
        width: 5em;
      }
      .extension-table td:nth-child(5) {  
        width: auto;
      }

       
      .enum-table td:nth-child(1) {  
        width: 10em;
      }
      .enum-table td:nth-child(2) {  
        width: 10em;
      }
      .enum-table td:nth-child(3) {  
        width: auto;
      }

       
      .scalar-value-types-table tr {
        height: 3em;
      }

       
      #toc-container ul {
        list-style-type: none;
        padding-left: 1em;
        line-height: 180%;
        margin: 0;
      }
      #toc > li > a {
        font-weight: bold;
      }

       
      .file-heading {
        width: 100%;
        display: table;
        border-bottom: 1px solid #aaa;
        margin: 4em 0 1.5em 0;
      }
      .file-heading h2 {
        border: none;
        display: table-cell;
      }
      .file-heading a {
        text-align: right;
        display: table-cell;
      }

       
      .badge {
        width: 1.6em;
        height: 1.6em;
        display: inline-block;

        line-height: 1.6em;
        text-align: center;
        font-weight: bold;
        font-size: 60%;

        color: #89ba48;
        background-color: #dff0c8;

        margin: 0.5ex 1em 0.5ex -1em;
        border: 1px solid #fbfbfb;
        border-radius: 1ex;
      }
    </style>

    
    <link rel="stylesheet" type="text/css" href="stylesheet.css"/>
  </head>

  <body>

    <h1 id="title">Protocol Documentation</h1>

    <h2>Table of Contents</h2>

    <div id="toc-container">
      <ul id="toc">
        
          
          <li>
            <a href="#health.proto">health.proto</a>
            <ul>
              
                <li>
                  <a href="#wxpay.HealthCheckResp"><span class="badge">M</span>HealthCheckResp</a>
                </li>
              
              
              
              
            </ul>
          </li>
        
          
          <li>
            <a href="#image.proto">image.proto</a>
            <ul>
              
                <li>
                  <a href="#wxpay.GetWechatMediaIdReply"><span class="badge">M</span>GetWechatMediaIdReply</a>
                </li>
              
                <li>
                  <a href="#wxpay.GetWechatMediaIdReq"><span class="badge">M</span>GetWechatMediaIdReq</a>
                </li>
              
                <li>
                  <a href="#wxpay.ImageUploadRequest"><span class="badge">M</span>ImageUploadRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.ImageUploadResponse"><span class="badge">M</span>ImageUploadResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.ImageUploadV2Request"><span class="badge">M</span>ImageUploadV2Request</a>
                </li>
              
                <li>
                  <a href="#wxpay.ImageUploadV2Response"><span class="badge">M</span>ImageUploadV2Response</a>
                </li>
              
              
              
              
            </ul>
          </li>
        
          
          <li>
            <a href="#notify.proto">notify.proto</a>
            <ul>
              
                <li>
                  <a href="#wxpay.NotifyRequest"><span class="badge">M</span>NotifyRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.NotifyResponse"><span class="badge">M</span>NotifyResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.Resource"><span class="badge">M</span>Resource</a>
                </li>
              
              
              
              
            </ul>
          </li>
        
          
          <li>
            <a href="#profit.proto">profit.proto</a>
            <ul>
              
                <li>
                  <a href="#wxpay.ProfitOrderRequest"><span class="badge">M</span>ProfitOrderRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.ProfitOrderResponse"><span class="badge">M</span>ProfitOrderResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.ProfitReceiver"><span class="badge">M</span>ProfitReceiver</a>
                </li>
              
                <li>
                  <a href="#wxpay.ProfitReturnRequest"><span class="badge">M</span>ProfitReturnRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.ProfitReturnResponse"><span class="badge">M</span>ProfitReturnResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.ProfitShareFinishRequest"><span class="badge">M</span>ProfitShareFinishRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.ProfitShareFinishResponse"><span class="badge">M</span>ProfitShareFinishResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.UnSplitAmountQueryRequest"><span class="badge">M</span>UnSplitAmountQueryRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.UnSplitAmountQueryResponse"><span class="badge">M</span>UnSplitAmountQueryResponse</a>
                </li>
              
              
              
              
            </ul>
          </li>
        
          
          <li>
            <a href="#refund.proto">refund.proto</a>
            <ul>
              
                <li>
                  <a href="#wxpay.RefundApplyRequest"><span class="badge">M</span>RefundApplyRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.RefundApplyResponse"><span class="badge">M</span>RefundApplyResponse</a>
                </li>
              
              
              
              
            </ul>
          </li>
        
          
          <li>
            <a href="#service.proto">service.proto</a>
            <ul>
              
                <li>
                  <a href="#wxpay.OperationResult"><span class="badge">M</span>OperationResult</a>
                </li>
              
              
              
              
                <li>
                  <a href="#wxpay.Wxpay"><span class="badge">S</span>Wxpay</a>
                </li>
              
            </ul>
          </li>
        
          
          <li>
            <a href="#sub_mch.proto">sub_mch.proto</a>
            <ul>
              
                <li>
                  <a href="#wxpay.AccountInfo"><span class="badge">M</span>AccountInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.AccountValidation"><span class="badge">M</span>AccountValidation</a>
                </li>
              
                <li>
                  <a href="#wxpay.AdditionInfo"><span class="badge">M</span>AdditionInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.AliFaceToFaceSignQueryRequest"><span class="badge">M</span>AliFaceToFaceSignQueryRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.AliFaceToFaceSignQueryResponse"><span class="badge">M</span>AliFaceToFaceSignQueryResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.AliFaceToFaceSignRequest"><span class="badge">M</span>AliFaceToFaceSignRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.AliFaceToFaceSignResponse"><span class="badge">M</span>AliFaceToFaceSignResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.AliSignStatus"><span class="badge">M</span>AliSignStatus</a>
                </li>
              
                <li>
                  <a href="#wxpay.AliSignStatusQueryRequest"><span class="badge">M</span>AliSignStatusQueryRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.AliSignStatusQueryResponse"><span class="badge">M</span>AliSignStatusQueryResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.AppInfo"><span class="badge">M</span>AppInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.ApplymentQueryRequest"><span class="badge">M</span>ApplymentQueryRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.ApplymentQueryResponse"><span class="badge">M</span>ApplymentQueryResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.ApplymentSubmitRequest"><span class="badge">M</span>ApplymentSubmitRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.ApplymentSubmitResponse"><span class="badge">M</span>ApplymentSubmitResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.AuditDetail"><span class="badge">M</span>AuditDetail</a>
                </li>
              
                <li>
                  <a href="#wxpay.BizLicenseInfo"><span class="badge">M</span>BizLicenseInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.BizStoreInfo"><span class="badge">M</span>BizStoreInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.BusinessInfo"><span class="badge">M</span>BusinessInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.BusinessLicenseInfo"><span class="badge">M</span>BusinessLicenseInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.CertificateInfo"><span class="badge">M</span>CertificateInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.ContactInfo"><span class="badge">M</span>ContactInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.ContactInfoV2"><span class="badge">M</span>ContactInfoV2</a>
                </li>
              
                <li>
                  <a href="#wxpay.IDCardInfo"><span class="badge">M</span>IDCardInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.IDCardInfoV2"><span class="badge">M</span>IDCardInfoV2</a>
                </li>
              
                <li>
                  <a href="#wxpay.IDDocInfo"><span class="badge">M</span>IDDocInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.IDDocInfoV2"><span class="badge">M</span>IDDocInfoV2</a>
                </li>
              
                <li>
                  <a href="#wxpay.IdentityInfo"><span class="badge">M</span>IdentityInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.MicroBizInfo"><span class="badge">M</span>MicroBizInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.MicroMobileInfo"><span class="badge">M</span>MicroMobileInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.MicroOnlineInfo"><span class="badge">M</span>MicroOnlineInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.MicroStoreInfo"><span class="badge">M</span>MicroStoreInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.MiniProgramInfo"><span class="badge">M</span>MiniProgramInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.MpInfo"><span class="badge">M</span>MpInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.OrganizationCertInfo"><span class="badge">M</span>OrganizationCertInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.OrganizationInfo"><span class="badge">M</span>OrganizationInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.SalesInfo"><span class="badge">M</span>SalesInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.SalesSceneInfo"><span class="badge">M</span>SalesSceneInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.SettlementAccountModifyRequest"><span class="badge">M</span>SettlementAccountModifyRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.SettlementAccountQueryRequest"><span class="badge">M</span>SettlementAccountQueryRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.SettlementAccountQueryResponse"><span class="badge">M</span>SettlementAccountQueryResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.SettlementInfo"><span class="badge">M</span>SettlementInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubMchAccountBalanceQueryRequest"><span class="badge">M</span>SubMchAccountBalanceQueryRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubMchAccountBalanceQueryResponse"><span class="badge">M</span>SubMchAccountBalanceQueryResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubMchApplymentQueryRequest"><span class="badge">M</span>SubMchApplymentQueryRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubMchApplymentQueryResponse"><span class="badge">M</span>SubMchApplymentQueryResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubMchApplymentSubmitRequest"><span class="badge">M</span>SubMchApplymentSubmitRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubMchApplymentSubmitResponse"><span class="badge">M</span>SubMchApplymentSubmitResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubMchWithdrawQueryRequest"><span class="badge">M</span>SubMchWithdrawQueryRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubMchWithdrawQueryResponse"><span class="badge">M</span>SubMchWithdrawQueryResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubMchWithdrawRequest"><span class="badge">M</span>SubMchWithdrawRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubMchWithdrawResponse"><span class="badge">M</span>SubMchWithdrawResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.SubjectInfo"><span class="badge">M</span>SubjectInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.UboInfo"><span class="badge">M</span>UboInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.WebInfo"><span class="badge">M</span>WebInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.WeworkInfo"><span class="badge">M</span>WeworkInfo</a>
                </li>
              
              
                <li>
                  <a href="#wxpay.MchAccountType"><span class="badge">E</span>MchAccountType</a>
                </li>
              
              
              
            </ul>
          </li>
        
          
          <li>
            <a href="#trade.proto">trade.proto</a>
            <ul>
              
                <li>
                  <a href="#wxpay.AmountInfo"><span class="badge">M</span>AmountInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.JSAPIPreCreateRequest"><span class="badge">M</span>JSAPIPreCreateRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.JSAPIPreCreateResponse"><span class="badge">M</span>JSAPIPreCreateResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.Payer"><span class="badge">M</span>Payer</a>
                </li>
              
                <li>
                  <a href="#wxpay.SettleInfo"><span class="badge">M</span>SettleInfo</a>
                </li>
              
                <li>
                  <a href="#wxpay.TradeCloseRequest"><span class="badge">M</span>TradeCloseRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.TradeQueryRequest"><span class="badge">M</span>TradeQueryRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.TradeQueryResponse"><span class="badge">M</span>TradeQueryResponse</a>
                </li>
              
              
              
              
            </ul>
          </li>
        
          
          <li>
            <a href="#transfer.proto">transfer.proto</a>
            <ul>
              
                <li>
                  <a href="#wxpay.TransferApplyRequest"><span class="badge">M</span>TransferApplyRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.TransferApplyResponse"><span class="badge">M</span>TransferApplyResponse</a>
                </li>
              
                <li>
                  <a href="#wxpay.TransferQueryRequest"><span class="badge">M</span>TransferQueryRequest</a>
                </li>
              
                <li>
                  <a href="#wxpay.TransferQueryResponse"><span class="badge">M</span>TransferQueryResponse</a>
                </li>
              
              
              
              
            </ul>
          </li>
        
        <li><a href="#scalar-value-types">Scalar Value Types</a></li>
      </ul>
    </div>

    
      
      <div class="file-heading">
        <h2 id="health.proto">health.proto</h2><a href="#title">Top</a>
      </div>
      <p>健康检查</p>

      
        <h3 id="wxpay.HealthCheckResp">HealthCheckResp</h3>
        <p>健康检查返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>message</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p> </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      

      

      

      
    
      
      <div class="file-heading">
        <h2 id="image.proto">image.proto</h2><a href="#title">Top</a>
      </div>
      <p>图片上传</p>

      
        <h3 id="wxpay.GetWechatMediaIdReply">GetWechatMediaIdReply</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>media_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>media_id </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.GetWechatMediaIdReq">GetWechatMediaIdReq</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>image_url</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>图片地址 </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商商户号mchid </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ImageUploadRequest">ImageUploadRequest</h3>
        <p>上传图片请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>image</td>
                  <td><a href="#bytes">bytes</a></td>
                  <td></td>
                  <td><p>图片文件的二进制数据 仅支持jpg、bmp、png三种格式，大小不能超过2M </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商商户号mchid </p></td>
                </tr>
              
                <tr>
                  <td>image_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>图片文件类型 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ImageUploadResponse">ImageUploadResponse</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>media_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>media_id </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ImageUploadV2Request">ImageUploadV2Request</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>image</td>
                  <td><a href="#bytes">bytes</a></td>
                  <td></td>
                  <td><p>图片文件的二进制数据 仅支持jpg、bmp、png三种格式 </p></td>
                </tr>
              
                <tr>
                  <td>imageType</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>图片文件类型 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ImageUploadV2Response">ImageUploadV2Response</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>imageName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>文件名称 </p></td>
                </tr>
              
                <tr>
                  <td>imageUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>文件oss地址 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      

      

      

      
    
      
      <div class="file-heading">
        <h2 id="notify.proto">notify.proto</h2><a href="#title">Top</a>
      </div>
      <p></p>

      
        <h3 id="wxpay.NotifyRequest">NotifyRequest</h3>
        <p>支付通知</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>通知ID </p></td>
                </tr>
              
                <tr>
                  <td>create_time</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>通知创建时间 </p></td>
                </tr>
              
                <tr>
                  <td>event_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>通知类型 </p></td>
                </tr>
              
                <tr>
                  <td>resource_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>通知数据类型 </p></td>
                </tr>
              
                <tr>
                  <td>summary</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>回调摘要 </p></td>
                </tr>
              
                <tr>
                  <td>resource</td>
                  <td><a href="#wxpay.Resource">Resource</a></td>
                  <td></td>
                  <td><p>通知数据(需要解密) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.NotifyResponse">NotifyResponse</h3>
        <p>通知响应</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>code</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>状态码 </p></td>
                </tr>
              
                <tr>
                  <td>message</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>信息 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.Resource">Resource</h3>
        <p>加密块</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>algorithm</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>加密算法类型 </p></td>
                </tr>
              
                <tr>
                  <td>ciphertext</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>数据密文 </p></td>
                </tr>
              
                <tr>
                  <td>associated_data</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>附加数据 </p></td>
                </tr>
              
                <tr>
                  <td>nonce</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>随机串 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      

      

      

      
    
      
      <div class="file-heading">
        <h2 id="profit.proto">profit.proto</h2><a href="#title">Top</a>
      </div>
      <p></p>

      
        <h3 id="wxpay.ProfitOrderRequest">ProfitOrderRequest</h3>
        <p>请求分账</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>out_trade_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户订单编号 </p></td>
                </tr>
              
                <tr>
                  <td>out_order_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户分账单号 </p></td>
                </tr>
              
                <tr>
                  <td>receivers</td>
                  <td><a href="#wxpay.ProfitReceiver">ProfitReceiver</a></td>
                  <td>repeated</td>
                  <td><p>分账接受方列表 </p></td>
                </tr>
              
                <tr>
                  <td>finish</td>
                  <td><a href="#bool">bool</a></td>
                  <td></td>
                  <td><p>分账是否结束 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ProfitOrderResponse">ProfitOrderResponse</h3>
        <p>请求分账返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>wx_order_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>微信分账单号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ProfitReceiver">ProfitReceiver</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>分账接收方类型 </p></td>
                </tr>
              
                <tr>
                  <td>receiver_account</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>分账接收方账号 类型是MERCHANT_ID时，是商户号（mch_id或者sub_mch_id）类型是PERSONAL_OPENID时，是个人openid </p></td>
                </tr>
              
                <tr>
                  <td>amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>分账金额，单位为分，只能为整数，不能超过原订单支付金额及最大分账比例金额。 </p></td>
                </tr>
              
                <tr>
                  <td>description</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>分账的原因描述，分账账单中需要体现。 </p></td>
                </tr>
              
                <tr>
                  <td>receiver_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>可选项，在接收方类型为个人的时可选填，若有值，会检查与 receiver_name 是否实名匹配，不匹配会拒绝分账请求 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ProfitReturnRequest">ProfitReturnRequest</h3>
        <p>请求分账回退</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>out_order_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户分账单号 </p></td>
                </tr>
              
                <tr>
                  <td>out_return_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户回退单号 </p></td>
                </tr>
              
                <tr>
                  <td>return_mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>回退商户号 </p></td>
                </tr>
              
                <tr>
                  <td>amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>回退金额 </p></td>
                </tr>
              
                <tr>
                  <td>description</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>回退描述 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ProfitReturnResponse">ProfitReturnResponse</h3>
        <p>请求分账回退返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>wx_return_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>微信回退单号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ProfitShareFinishRequest">ProfitShareFinishRequest</h3>
        <p>完结分账请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户ID </p></td>
                </tr>
              
                <tr>
                  <td>out_trade_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户订单号 </p></td>
                </tr>
              
                <tr>
                  <td>out_order_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>分账单号 </p></td>
                </tr>
              
                <tr>
                  <td>description</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>分账描述 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ProfitShareFinishResponse">ProfitShareFinishResponse</h3>
        <p>完结分账请求返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>wx_order_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>微信分账单号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.UnSplitAmountQueryRequest">UnSplitAmountQueryRequest</h3>
        <p>查询订单剩余待分金额</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户ID </p></td>
                </tr>
              
                <tr>
                  <td>out_trade_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户订单号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.UnSplitAmountQueryResponse">UnSplitAmountQueryResponse</h3>
        <p>查询订单剩余待分金额返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>unsplit_amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>订单剩余待分金额 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      

      

      

      
    
      
      <div class="file-heading">
        <h2 id="refund.proto">refund.proto</h2><a href="#title">Top</a>
      </div>
      <p></p>

      
        <h3 id="wxpay.RefundApplyRequest">RefundApplyRequest</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户ID </p></td>
                </tr>
              
                <tr>
                  <td>out_trade_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户订单号 </p></td>
                </tr>
              
                <tr>
                  <td>out_refund_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户退款单号 </p></td>
                </tr>
              
                <tr>
                  <td>reason</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>退款原因 </p></td>
                </tr>
              
                <tr>
                  <td>amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>金额 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.RefundApplyResponse">RefundApplyResponse</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>refund_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>微信退款单号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      

      

      

      
    
      
      <div class="file-heading">
        <h2 id="service.proto">service.proto</h2><a href="#title">Top</a>
      </div>
      <p>wxpay服务proto</p>

      
        <h3 id="wxpay.OperationResult">OperationResult</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>message</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p> </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      

      

      

      
        <h3 id="wxpay.Wxpay">Wxpay</h3>
        <p></p>
        <table class="enum-table">
          <thead>
            <tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
          </thead>
          <tbody>
            
              <tr>
                <td>DummyHandler</td>
                <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>
                <td><a href="#wxpay.HealthCheckResp">HealthCheckResp</a></td>
                <td><p>健康检查</p></td>
              </tr>
            
              <tr>
                <td>ImageUpload</td>
                <td><a href="#wxpay.ImageUploadRequest">ImageUploadRequest</a></td>
                <td><a href="#wxpay.ImageUploadResponse">ImageUploadResponse</a></td>
                <td><p>图片上传</p></td>
              </tr>
            
              <tr>
                <td>ImageUploadV2</td>
                <td><a href="#wxpay.ImageUploadV2Request">ImageUploadV2Request</a></td>
                <td><a href="#wxpay.ImageUploadV2Response">ImageUploadV2Response</a></td>
                <td><p>图片上传v2</p></td>
              </tr>
            
              <tr>
                <td>GetWechatMediaId</td>
                <td><a href="#wxpay.GetWechatMediaIdReq">GetWechatMediaIdReq</a></td>
                <td><a href="#wxpay.GetWechatMediaIdReply">GetWechatMediaIdReply</a></td>
                <td><p>获取微信 media id</p></td>
              </tr>
            
              <tr>
                <td>ApplymentSubmit</td>
                <td><a href="#wxpay.ApplymentSubmitRequest">ApplymentSubmitRequest</a></td>
                <td><a href="#wxpay.ApplymentSubmitResponse">ApplymentSubmitResponse</a></td>
                <td><p>提交申请</p></td>
              </tr>
            
              <tr>
                <td>ApplymentReSubmit</td>
                <td><a href="#wxpay.ApplymentSubmitRequest">ApplymentSubmitRequest</a></td>
                <td><a href="#wxpay.ApplymentSubmitResponse">ApplymentSubmitResponse</a></td>
                <td><p>修改申请重新提交</p></td>
              </tr>
            
              <tr>
                <td>ApplymentQuery</td>
                <td><a href="#wxpay.ApplymentQueryRequest">ApplymentQueryRequest</a></td>
                <td><a href="#wxpay.ApplymentQueryResponse">ApplymentQueryResponse</a></td>
                <td><p>查询申请详情</p></td>
              </tr>
            
              <tr>
                <td>SettlementAccountQuery</td>
                <td><a href="#wxpay.SettlementAccountQueryRequest">SettlementAccountQueryRequest</a></td>
                <td><a href="#wxpay.SettlementAccountQueryResponse">SettlementAccountQueryResponse</a></td>
                <td><p>查询结算账号</p></td>
              </tr>
            
              <tr>
                <td>SettlementAccountModify</td>
                <td><a href="#wxpay.SettlementAccountModifyRequest">SettlementAccountModifyRequest</a></td>
                <td><a href="#wxpay.OperationResult">OperationResult</a></td>
                <td><p>修改结算账号</p></td>
              </tr>
            
              <tr>
                <td>JSAPIPreCreate</td>
                <td><a href="#wxpay.JSAPIPreCreateRequest">JSAPIPreCreateRequest</a></td>
                <td><a href="#wxpay.JSAPIPreCreateResponse">JSAPIPreCreateResponse</a></td>
                <td><p>JSAPI预下单</p></td>
              </tr>
            
              <tr>
                <td>TradeQuery</td>
                <td><a href="#wxpay.TradeQueryRequest">TradeQueryRequest</a></td>
                <td><a href="#wxpay.TradeQueryResponse">TradeQueryResponse</a></td>
                <td><p>查询trade</p></td>
              </tr>
            
              <tr>
                <td>WxNotify</td>
                <td><a href="#wxpay.NotifyRequest">NotifyRequest</a></td>
                <td><a href="#wxpay.NotifyResponse">NotifyResponse</a></td>
                <td><p>回调类通知</p></td>
              </tr>
            
              <tr>
                <td>TradeClose</td>
                <td><a href="#wxpay.TradeCloseRequest">TradeCloseRequest</a></td>
                <td><a href="#wxpay.OperationResult">OperationResult</a></td>
                <td><p>关闭订单</p></td>
              </tr>
            
              <tr>
                <td>ProfitOrderSubmit</td>
                <td><a href="#wxpay.ProfitOrderRequest">ProfitOrderRequest</a></td>
                <td><a href="#wxpay.ProfitOrderResponse">ProfitOrderResponse</a></td>
                <td><p>提交分账请求</p></td>
              </tr>
            
              <tr>
                <td>ProfitReturnSubmit</td>
                <td><a href="#wxpay.ProfitReturnRequest">ProfitReturnRequest</a></td>
                <td><a href="#wxpay.ProfitReturnResponse">ProfitReturnResponse</a></td>
                <td><p>提交分账回退请求</p></td>
              </tr>
            
              <tr>
                <td>ProfitShareFinishSubmit</td>
                <td><a href="#wxpay.ProfitShareFinishRequest">ProfitShareFinishRequest</a></td>
                <td><a href="#wxpay.ProfitShareFinishResponse">ProfitShareFinishResponse</a></td>
                <td><p>提交分账完结请求</p></td>
              </tr>
            
              <tr>
                <td>UnSplitAmountQuery</td>
                <td><a href="#wxpay.UnSplitAmountQueryRequest">UnSplitAmountQueryRequest</a></td>
                <td><a href="#wxpay.UnSplitAmountQueryResponse">UnSplitAmountQueryResponse</a></td>
                <td><p>查询订单剩余待分金额</p></td>
              </tr>
            
              <tr>
                <td>RefundApply</td>
                <td><a href="#wxpay.RefundApplyRequest">RefundApplyRequest</a></td>
                <td><a href="#wxpay.RefundApplyResponse">RefundApplyResponse</a></td>
                <td><p>退款申请</p></td>
              </tr>
            
              <tr>
                <td>TransferApply</td>
                <td><a href="#wxpay.TransferApplyRequest">TransferApplyRequest</a></td>
                <td><a href="#wxpay.TransferApplyResponse">TransferApplyResponse</a></td>
                <td><p>提交转账</p></td>
              </tr>
            
              <tr>
                <td>TransferQuery</td>
                <td><a href="#wxpay.TransferQueryRequest">TransferQueryRequest</a></td>
                <td><a href="#wxpay.TransferQueryResponse">TransferQueryResponse</a></td>
                <td><p>转账详情</p></td>
              </tr>
            
              <tr>
                <td>SubMchAccountBalanceQuery</td>
                <td><a href="#wxpay.SubMchAccountBalanceQueryRequest">SubMchAccountBalanceQueryRequest</a></td>
                <td><a href="#wxpay.SubMchAccountBalanceQueryResponse">SubMchAccountBalanceQueryResponse</a></td>
                <td><p>二级商户账户实时余额查询</p></td>
              </tr>
            
              <tr>
                <td>SubMchWithdraw</td>
                <td><a href="#wxpay.SubMchWithdrawRequest">SubMchWithdrawRequest</a></td>
                <td><a href="#wxpay.SubMchWithdrawResponse">SubMchWithdrawResponse</a></td>
                <td><p>二级商户账户提现申请</p></td>
              </tr>
            
              <tr>
                <td>SubMchWithdrawQuery</td>
                <td><a href="#wxpay.SubMchWithdrawQueryRequest">SubMchWithdrawQueryRequest</a></td>
                <td><a href="#wxpay.SubMchWithdrawQueryResponse">SubMchWithdrawQueryResponse</a></td>
                <td><p>二级商户账户提现查询</p></td>
              </tr>
            
              <tr>
                <td>ScheduleMessageToBePublishedCheck</td>
                <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>
                <td><a href="#wxpay.OperationResult">OperationResult</a></td>
                <td><p>检查待发送消息</p></td>
              </tr>
            
              <tr>
                <td>ScheduleGenBatchTransferTask</td>
                <td><a href="#google.protobuf.Empty">.google.protobuf.Empty</a></td>
                <td><a href="#wxpay.OperationResult">OperationResult</a></td>
                <td><p>检查待发起转账的任务</p></td>
              </tr>
            
              <tr>
                <td>AliPayFaceToFaceSignSubmit</td>
                <td><a href="#wxpay.AliFaceToFaceSignRequest">AliFaceToFaceSignRequest</a></td>
                <td><a href="#wxpay.AliFaceToFaceSignResponse">AliFaceToFaceSignResponse</a></td>
                <td><p>支付宝当面付申请</p></td>
              </tr>
            
              <tr>
                <td>AliPayFaceToFaceSignReSubmit</td>
                <td><a href="#wxpay.AliFaceToFaceSignRequest">AliFaceToFaceSignRequest</a></td>
                <td><a href="#wxpay.AliFaceToFaceSignResponse">AliFaceToFaceSignResponse</a></td>
                <td><p>支付宝当面付申请重新提交</p></td>
              </tr>
            
              <tr>
                <td>AliPayFaceToFaceSignQuery</td>
                <td><a href="#wxpay.AliFaceToFaceSignQueryRequest">AliFaceToFaceSignQueryRequest</a></td>
                <td><a href="#wxpay.AliFaceToFaceSignQueryResponse">AliFaceToFaceSignQueryResponse</a></td>
                <td><p>支付宝当面付签约查询</p></td>
              </tr>
            
              <tr>
                <td>AliPaySignStatusQuery</td>
                <td><a href="#wxpay.AliSignStatusQueryRequest">AliSignStatusQueryRequest</a></td>
                <td><a href="#wxpay.AliSignStatusQueryResponse">AliSignStatusQueryResponse</a></td>
                <td><p>支付宝产品签约状态查询</p></td>
              </tr>
            
              <tr>
                <td>WxSubMchApplymentSubmit</td>
                <td><a href="#wxpay.SubMchApplymentSubmitRequest">SubMchApplymentSubmitRequest</a></td>
                <td><a href="#wxpay.SubMchApplymentSubmitResponse">SubMchApplymentSubmitResponse</a></td>
                <td><p>微信特约商户进件申请</p></td>
              </tr>
            
              <tr>
                <td>WxSubMchApplymentReSubmit</td>
                <td><a href="#wxpay.SubMchApplymentSubmitRequest">SubMchApplymentSubmitRequest</a></td>
                <td><a href="#wxpay.SubMchApplymentSubmitResponse">SubMchApplymentSubmitResponse</a></td>
                <td><p>微信特约商户进件申请重新提交</p></td>
              </tr>
            
              <tr>
                <td>WxSubMchApplymentQuery</td>
                <td><a href="#wxpay.SubMchApplymentQueryRequest">SubMchApplymentQueryRequest</a></td>
                <td><a href="#wxpay.SubMchApplymentQueryResponse">SubMchApplymentQueryResponse</a></td>
                <td><p>微信特约商户进件申请查询</p></td>
              </tr>
            
          </tbody>
        </table>

        
          
          
          <h4>Methods with HTTP bindings</h4>
          <table>
            <thead>
              <tr>
                <td>Method Name</td>
                <td>Method</td>
                <td>Pattern</td>
                <td>Body</td>
              </tr>
            </thead>
            <tbody>
            
              
              
              <tr>
                <td>DummyHandler</td>
                <td>GET</td>
                <td>/ping</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>ImageUpload</td>
                <td>POST</td>
                <td>/api/v1/wxpay/image/upload</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>ImageUploadV2</td>
                <td>POST</td>
                <td>/api/v2/wxpay/image/upload</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>GetWechatMediaId</td>
                <td>POST</td>
                <td>/api/v1/wxpay/wechat/media-id</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>ApplymentSubmit</td>
                <td>POST</td>
                <td>/api/v1/wxpay/applyment/submit</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>ApplymentReSubmit</td>
                <td>POST</td>
                <td>/api/v1/wxpay/applyment/resubmit</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>ApplymentQuery</td>
                <td>GET</td>
                <td>/api/v1/wxpay/applyment/{apply_no}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>SettlementAccountQuery</td>
                <td>GET</td>
                <td>/api/v1/wxpay/mch/settle-account</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>SettlementAccountModify</td>
                <td>POST</td>
                <td>/api/v1/wxpay/mch/settle-account</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>JSAPIPreCreate</td>
                <td>POST</td>
                <td>/api/v1/wxpay/jsapi-precreate</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>TradeQuery</td>
                <td>GET</td>
                <td>/api/v1/wxpay/trades/{out_trade_no}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>WxNotify</td>
                <td>POST</td>
                <td>/api/v1/wxpay/notify</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>TradeClose</td>
                <td>POST</td>
                <td>/api/v1/wxpay/trades/{out_trade_no}/close</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>ProfitOrderSubmit</td>
                <td>POST</td>
                <td>/api/v1/wxpay/profit-order/submit</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>ProfitReturnSubmit</td>
                <td>POST</td>
                <td>/api/v1/wxpay/profit-return/submit</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>ProfitShareFinishSubmit</td>
                <td>POST</td>
                <td>/api/v1/wxpay/profit-finish/submit</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>UnSplitAmountQuery</td>
                <td>GET</td>
                <td>/api/v1/wxpay/trades/{out_trade_no}/un-split-amount</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>RefundApply</td>
                <td>POST</td>
                <td>/api/v1/wxpay/refund/apply</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>TransferApply</td>
                <td>POST</td>
                <td>/api/v1/wxpay/transfer/apply</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>TransferQuery</td>
                <td>GET</td>
                <td>/api/v1/wxpay/transfer</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>SubMchAccountBalanceQuery</td>
                <td>GET</td>
                <td>/api/v1/wxpay/mch/balance/{sub_mch_id}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>SubMchWithdraw</td>
                <td>POST</td>
                <td>/api/v1/wxpay/mch/balance/withdraw</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>SubMchWithdrawQuery</td>
                <td>GET</td>
                <td>/api/v1/wxpay/mch/balance/withdraw/{biz_no}</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>ScheduleMessageToBePublishedCheck</td>
                <td>GET</td>
                <td>/api/v1/wxpay/schedule/message/check</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>ScheduleGenBatchTransferTask</td>
                <td>GET</td>
                <td>/api/v1/wxpay/schedule/batch-transfer</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>AliPayFaceToFaceSignSubmit</td>
                <td>POST</td>
                <td>/api/v1/wxpay/alipay/face-to-face/sign</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>AliPayFaceToFaceSignReSubmit</td>
                <td>POST</td>
                <td>/api/v1/wxpay/alipay/face-to-face/sign</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>AliPayFaceToFaceSignQuery</td>
                <td>GET</td>
                <td>/api/v1/wxpay/alipay/sign</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>AliPaySignStatusQuery</td>
                <td>GET</td>
                <td>/api/v1/wxpay/alipay/sign/status</td>
                <td></td>
              </tr>
              
            
              
              
              <tr>
                <td>WxSubMchApplymentSubmit</td>
                <td>POST</td>
                <td>/api/v1/wxpay/wechat/sub_merchant/applyment</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>WxSubMchApplymentReSubmit</td>
                <td>POST</td>
                <td>/api/v1/wxpay/wechat/sub_merchant/applyment</td>
                <td>*</td>
              </tr>
              
            
              
              
              <tr>
                <td>WxSubMchApplymentQuery</td>
                <td>POST</td>
                <td>/api/v1/wxpay/wechat/sub_merchant/applyment</td>
                <td>*</td>
              </tr>
              
            
            </tbody>
          </table>
          
        
    
      
      <div class="file-heading">
        <h2 id="sub_mch.proto">sub_mch.proto</h2><a href="#title">Top</a>
      </div>
      <p>二级商户进件</p>

      
        <h3 id="wxpay.AccountInfo">AccountInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>bank_account_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>账户类型 </p></td>
                </tr>
              
                <tr>
                  <td>account_bank</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行 </p></td>
                </tr>
              
                <tr>
                  <td>account_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户名称 </p></td>
                </tr>
              
                <tr>
                  <td>bank_address_code</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行省市编码 </p></td>
                </tr>
              
                <tr>
                  <td>bank_branch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行联行号 </p></td>
                </tr>
              
                <tr>
                  <td>bank_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行全称 （含支行） </p></td>
                </tr>
              
                <tr>
                  <td>account_number</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>银行帐号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AccountValidation">AccountValidation</h3>
        <p>汇款账户验证信息</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>account_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>付款户名 </p></td>
                </tr>
              
                <tr>
                  <td>account_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>付款卡号 </p></td>
                </tr>
              
                <tr>
                  <td>pay_amount</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>汇款金额 （以分为单位） </p></td>
                </tr>
              
                <tr>
                  <td>destination_account_number</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>收款卡号 </p></td>
                </tr>
              
                <tr>
                  <td>destination_account_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>收款户名 </p></td>
                </tr>
              
                <tr>
                  <td>destination_account_bank</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行 </p></td>
                </tr>
              
                <tr>
                  <td>city</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>省市信息 </p></td>
                </tr>
              
                <tr>
                  <td>remark</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>备注信息 </p></td>
                </tr>
              
                <tr>
                  <td>deadline</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>汇款截止时间 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AdditionInfo">AdditionInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>legalPersonCommitment</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>法人开户承诺函 </p></td>
                </tr>
              
                <tr>
                  <td>legalPersonVideo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>法人开户意愿视频 </p></td>
                </tr>
              
                <tr>
                  <td>businessAdditionPics</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>补充材料 </p></td>
                </tr>
              
                <tr>
                  <td>businessAdditionMsg</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>补充说明 </p></td>
                </tr>
              
                <tr>
                  <td>legalPersonCommitmentUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>法人开户承诺函  (返回值有) </p></td>
                </tr>
              
                <tr>
                  <td>businessAdditionPicsUrl</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>补充材料 (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AliFaceToFaceSignQueryRequest">AliFaceToFaceSignQueryRequest</h3>
        <p>支付当面付查询请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brandId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>bizNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务单号 </p></td>
                </tr>
              
                <tr>
                  <td>alipayAccount</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户支付宝账号 </p></td>
                </tr>
              
                <tr>
                  <td>authToken</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>授权token </p></td>
                </tr>
              
                <tr>
                  <td>appId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商 appid </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AliFaceToFaceSignQueryResponse">AliFaceToFaceSignQueryResponse</h3>
        <p>支付当面付查询结果</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>applyNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请单号 </p></td>
                </tr>
              
                <tr>
                  <td>brandId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>alipayAccount</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>阿里账号 </p></td>
                </tr>
              
                <tr>
                  <td>contactName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>联系人名称 </p></td>
                </tr>
              
                <tr>
                  <td>contactMobile</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>联系人手机号 </p></td>
                </tr>
              
                <tr>
                  <td>contactEmail</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>联系人邮箱 </p></td>
                </tr>
              
                <tr>
                  <td>mccCode</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商家经营类目 </p></td>
                </tr>
              
                <tr>
                  <td>specialLicensePic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>企业特殊资质图片 </p></td>
                </tr>
              
                <tr>
                  <td>specialLicensePicUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>企业特殊资质图片地址 </p></td>
                </tr>
              
                <tr>
                  <td>rate</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务费率 </p></td>
                </tr>
              
                <tr>
                  <td>signAndAuth</td>
                  <td><a href="#bool">bool</a></td>
                  <td></td>
                  <td><p>签约且授权操作 </p></td>
                </tr>
              
                <tr>
                  <td>businessLicenseNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业执照号码 </p></td>
                </tr>
              
                <tr>
                  <td>businessLicensePic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业执照图片 </p></td>
                </tr>
              
                <tr>
                  <td>businessLicensePicUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业执照图片地址 </p></td>
                </tr>
              
                <tr>
                  <td>businessLicenseAuthPic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业执照授权函图片 </p></td>
                </tr>
              
                <tr>
                  <td>businessLicenseAuthPicUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业执照授权函图片地址 </p></td>
                </tr>
              
                <tr>
                  <td>longTerm</td>
                  <td><a href="#bool">bool</a></td>
                  <td></td>
                  <td><p>是否长期有效 </p></td>
                </tr>
              
                <tr>
                  <td>dateLimitation</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业期限 </p></td>
                </tr>
              
                <tr>
                  <td>shopScenePic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺内景照片 </p></td>
                </tr>
              
                <tr>
                  <td>shopScenePicUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺内景照片地址 </p></td>
                </tr>
              
                <tr>
                  <td>shopSignBoardPic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺门头照片 </p></td>
                </tr>
              
                <tr>
                  <td>shopSignBoardPicUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺门头照片地址 </p></td>
                </tr>
              
                <tr>
                  <td>applyState</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请状态 </p></td>
                </tr>
              
                <tr>
                  <td>applyStateDesc</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请状态描述 </p></td>
                </tr>
              
                <tr>
                  <td>confirmUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>确认签约连接 </p></td>
                </tr>
              
                <tr>
                  <td>rejectReason</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>审核失败原因 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AliFaceToFaceSignRequest">AliFaceToFaceSignRequest</h3>
        <p>支付宝当面付申请</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brandId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>bizNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务申请单号 </p></td>
                </tr>
              
                <tr>
                  <td>alipayAccount</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户支付宝账号 </p></td>
                </tr>
              
                <tr>
                  <td>contactName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>联系人名称 </p></td>
                </tr>
              
                <tr>
                  <td>contactMobile</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>联系人手机号 </p></td>
                </tr>
              
                <tr>
                  <td>contactEmail</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>联系人邮箱 </p></td>
                </tr>
              
                <tr>
                  <td>mccCode</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商家经营类目 </p></td>
                </tr>
              
                <tr>
                  <td>specialLicensePic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>企业特殊资质图片 </p></td>
                </tr>
              
                <tr>
                  <td>rate</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务费率 </p></td>
                </tr>
              
                <tr>
                  <td>signAndAuth</td>
                  <td><a href="#bool">bool</a></td>
                  <td></td>
                  <td><p>签约且授权操作 </p></td>
                </tr>
              
                <tr>
                  <td>businessLicenseNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业执照号码 </p></td>
                </tr>
              
                <tr>
                  <td>businessLicensePic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业执照图片 </p></td>
                </tr>
              
                <tr>
                  <td>businessLicenseAuthPic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业执照授权函图片 </p></td>
                </tr>
              
                <tr>
                  <td>longTerm</td>
                  <td><a href="#bool">bool</a></td>
                  <td></td>
                  <td><p>是否长期有效 </p></td>
                </tr>
              
                <tr>
                  <td>dateLimitation</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业期限 </p></td>
                </tr>
              
                <tr>
                  <td>shopScenePic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺内景照片 </p></td>
                </tr>
              
                <tr>
                  <td>shopSignBoardPic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺门头照片 </p></td>
                </tr>
              
                <tr>
                  <td>empId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请人id </p></td>
                </tr>
              
                <tr>
                  <td>authToken</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>授权token </p></td>
                </tr>
              
                <tr>
                  <td>appId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商 appid </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AliFaceToFaceSignResponse">AliFaceToFaceSignResponse</h3>
        <p>支付宝当面付申请返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brandId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>applyNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请单号 </p></td>
                </tr>
              
                <tr>
                  <td>alipayAccount</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户支付宝账号 </p></td>
                </tr>
              
                <tr>
                  <td>applyState</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请状态 </p></td>
                </tr>
              
                <tr>
                  <td>applyStateDesc</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请状态描述 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AliSignStatus">AliSignStatus</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>productName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>产品名称 </p></td>
                </tr>
              
                <tr>
                  <td>productCode</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>产品编码 </p></td>
                </tr>
              
                <tr>
                  <td>status</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>状态 </p></td>
                </tr>
              
                <tr>
                  <td>statusDesc</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>状态描述 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AliSignStatusQueryRequest">AliSignStatusQueryRequest</h3>
        <p>签约状态查询请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>pid</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>支付宝账号 </p></td>
                </tr>
              
                <tr>
                  <td>productCodes</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>商家签约产品码 </p></td>
                </tr>
              
                <tr>
                  <td>authToken</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>授权token </p></td>
                </tr>
              
                <tr>
                  <td>appId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>app id 服务商id </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AliSignStatusQueryResponse">AliSignStatusQueryResponse</h3>
        <p>签约状态查询返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>signStatusList</td>
                  <td><a href="#wxpay.AliSignStatus">AliSignStatus</a></td>
                  <td>repeated</td>
                  <td><p> </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AppInfo">AppInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>appAppId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商应用APPID </p></td>
                </tr>
              
                <tr>
                  <td>appSubAppId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商家应用 appid </p></td>
                </tr>
              
                <tr>
                  <td>appPics</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>应用页面截图 </p></td>
                </tr>
              
                <tr>
                  <td>appPicsUrl</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>截图地址  (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ApplymentQueryRequest">ApplymentQueryRequest</h3>
        <p>品牌维度查询进件申请详情</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p> </p></td>
                </tr>
              
                <tr>
                  <td>apply_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p> </p></td>
                </tr>
              
                <tr>
                  <td>force</td>
                  <td><a href="#bool">bool</a></td>
                  <td></td>
                  <td><p> </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ApplymentQueryResponse">ApplymentQueryResponse</h3>
        <p>品牌维度查询进件申请详情返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>apply_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请类型 </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户号 </p></td>
                </tr>
              
                <tr>
                  <td>organization_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>主体类型 </p></td>
                </tr>
              
                <tr>
                  <td>biz_license_info</td>
                  <td><a href="#wxpay.BizLicenseInfo">BizLicenseInfo</a></td>
                  <td></td>
                  <td><p>营业执照/登记证书信息 </p></td>
                </tr>
              
                <tr>
                  <td>organization_cert_info</td>
                  <td><a href="#wxpay.OrganizationCertInfo">OrganizationCertInfo</a></td>
                  <td></td>
                  <td><p>组织机构代码证信息 </p></td>
                </tr>
              
                <tr>
                  <td>id_doc_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>经营者/法人证件类型 </p></td>
                </tr>
              
                <tr>
                  <td>id_card_info</td>
                  <td><a href="#wxpay.IDCardInfo">IDCardInfo</a></td>
                  <td></td>
                  <td><p>经营者/法人身份证信息 </p></td>
                </tr>
              
                <tr>
                  <td>id_doc_info</td>
                  <td><a href="#wxpay.IDDocInfo">IDDocInfo</a></td>
                  <td></td>
                  <td><p>经营者/法人其他类型证件信息 </p></td>
                </tr>
              
                <tr>
                  <td>need_account_info</td>
                  <td><a href="#bool">bool</a></td>
                  <td></td>
                  <td><p>是否填写结算银行账户 </p></td>
                </tr>
              
                <tr>
                  <td>account_info</td>
                  <td><a href="#wxpay.AccountInfo">AccountInfo</a></td>
                  <td></td>
                  <td><p>结算银行账户 </p></td>
                </tr>
              
                <tr>
                  <td>contact_info</td>
                  <td><a href="#wxpay.ContactInfo">ContactInfo</a></td>
                  <td></td>
                  <td><p>超级管理员信息 </p></td>
                </tr>
              
                <tr>
                  <td>sales_scene_info</td>
                  <td><a href="#wxpay.SalesSceneInfo">SalesSceneInfo</a></td>
                  <td></td>
                  <td><p>店铺信息 </p></td>
                </tr>
              
                <tr>
                  <td>merchant_shortname</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户简称 </p></td>
                </tr>
              
                <tr>
                  <td>qualifications</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>特殊资质 </p></td>
                </tr>
              
                <tr>
                  <td>business_addition_pics</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>补充材料 </p></td>
                </tr>
              
                <tr>
                  <td>business_addition_desc</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>补充说明 </p></td>
                </tr>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>wx_applyment_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>微信申请单编号 </p></td>
                </tr>
              
                <tr>
                  <td>apply_state</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请状态 </p></td>
                </tr>
              
                <tr>
                  <td>apply_state_desc</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请状态描述 </p></td>
                </tr>
              
                <tr>
                  <td>sign_url</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>签约链接 </p></td>
                </tr>
              
                <tr>
                  <td>account_validation</td>
                  <td><a href="#wxpay.AccountValidation">AccountValidation</a></td>
                  <td></td>
                  <td><p>汇款账户验证信息 </p></td>
                </tr>
              
                <tr>
                  <td>sub_mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>子商户商户号 </p></td>
                </tr>
              
                <tr>
                  <td>audit_details</td>
                  <td><a href="#wxpay.AuditDetail">AuditDetail</a></td>
                  <td>repeated</td>
                  <td><p>驳回原因详情 </p></td>
                </tr>
              
                <tr>
                  <td>legal_validation_url</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>法人验证链接 </p></td>
                </tr>
              
                <tr>
                  <td>create_time</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>创建时间 </p></td>
                </tr>
              
                <tr>
                  <td>update_time</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>修改时间 </p></td>
                </tr>
              
                <tr>
                  <td>qualifications_url</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>特殊资质照片url </p></td>
                </tr>
              
                <tr>
                  <td>business_addition_pics_url</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>补充材料照片url </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ApplymentSubmitRequest">ApplymentSubmitRequest</h3>
        <p>提交申请</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>apply_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请类型 </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户号 </p></td>
                </tr>
              
                <tr>
                  <td>organization_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>主体类型 </p></td>
                </tr>
              
                <tr>
                  <td>biz_license_info</td>
                  <td><a href="#wxpay.BizLicenseInfo">BizLicenseInfo</a></td>
                  <td></td>
                  <td><p>营业执照/登记证书信息 </p></td>
                </tr>
              
                <tr>
                  <td>organization_cert_info</td>
                  <td><a href="#wxpay.OrganizationCertInfo">OrganizationCertInfo</a></td>
                  <td></td>
                  <td><p>组织机构代码证信息 </p></td>
                </tr>
              
                <tr>
                  <td>id_doc_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>经营者/法人证件类型 </p></td>
                </tr>
              
                <tr>
                  <td>id_card_info</td>
                  <td><a href="#wxpay.IDCardInfo">IDCardInfo</a></td>
                  <td></td>
                  <td><p>经营者/法人身份证信息 </p></td>
                </tr>
              
                <tr>
                  <td>id_doc_info</td>
                  <td><a href="#wxpay.IDDocInfo">IDDocInfo</a></td>
                  <td></td>
                  <td><p>经营者/法人其他类型证件信息 </p></td>
                </tr>
              
                <tr>
                  <td>need_account_info</td>
                  <td><a href="#bool">bool</a></td>
                  <td></td>
                  <td><p>是否填写结算银行账户 </p></td>
                </tr>
              
                <tr>
                  <td>account_info</td>
                  <td><a href="#wxpay.AccountInfo">AccountInfo</a></td>
                  <td></td>
                  <td><p>结算银行账户 </p></td>
                </tr>
              
                <tr>
                  <td>contact_info</td>
                  <td><a href="#wxpay.ContactInfo">ContactInfo</a></td>
                  <td></td>
                  <td><p>超级管理员信息 </p></td>
                </tr>
              
                <tr>
                  <td>sales_scene_info</td>
                  <td><a href="#wxpay.SalesSceneInfo">SalesSceneInfo</a></td>
                  <td></td>
                  <td><p>店铺信息 </p></td>
                </tr>
              
                <tr>
                  <td>merchant_shortname</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户简称 </p></td>
                </tr>
              
                <tr>
                  <td>qualifications</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>特殊资质 </p></td>
                </tr>
              
                <tr>
                  <td>business_addition_pics</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>补充材料 </p></td>
                </tr>
              
                <tr>
                  <td>business_addition_desc</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>补充说明 </p></td>
                </tr>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>biz_apply_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务编号(幂等) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ApplymentSubmitResponse">ApplymentSubmitResponse</h3>
        <p>提交申请返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>apply_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请编号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.AuditDetail">AuditDetail</h3>
        <p>驳回原因详情</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>param_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>参数名称 </p></td>
                </tr>
              
                <tr>
                  <td>reject_reason</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>驳回原因 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.BizLicenseInfo">BizLicenseInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>business_license_copy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件扫描件 - MediaID </p></td>
                </tr>
              
                <tr>
                  <td>business_license_number</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件注册号 </p></td>
                </tr>
              
                <tr>
                  <td>merchant_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户名称 </p></td>
                </tr>
              
                <tr>
                  <td>legal_person</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>经营者/法定代表人姓名 </p></td>
                </tr>
              
                <tr>
                  <td>company_address</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>注册地址 </p></td>
                </tr>
              
                <tr>
                  <td>business_time</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业期限 </p></td>
                </tr>
              
                <tr>
                  <td>copy_url</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件照片url (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.BizStoreInfo">BizStoreInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>bizStoreName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>门店名称 </p></td>
                </tr>
              
                <tr>
                  <td>bizAddressCode</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>门店省市编码 </p></td>
                </tr>
              
                <tr>
                  <td>bizStoreAddress</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>门店地址 </p></td>
                </tr>
              
                <tr>
                  <td>storeEntrancePic</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>门店门头照片 </p></td>
                </tr>
              
                <tr>
                  <td>indoorPic</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>门店店内环境照片 </p></td>
                </tr>
              
                <tr>
                  <td>bizSubAppId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>先下场所对应商家appid </p></td>
                </tr>
              
                <tr>
                  <td>storeEntrancePicUrl</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>门头照片地址  (返回值有) </p></td>
                </tr>
              
                <tr>
                  <td>indoorPicUrl</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>门店店内环境照片  (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.BusinessInfo">BusinessInfo</h3>
        <p>经营资料</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>merchantShortname</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户简称 </p></td>
                </tr>
              
                <tr>
                  <td>servicePhone</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>客服电话 </p></td>
                </tr>
              
                <tr>
                  <td>salesInfo</td>
                  <td><a href="#wxpay.SalesInfo">SalesInfo</a></td>
                  <td></td>
                  <td><p>salesInfo </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.BusinessLicenseInfo">BusinessLicenseInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>licenseCopy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业执照照片 </p></td>
                </tr>
              
                <tr>
                  <td>licenseNumber</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>注册号/统一社会信用代码 </p></td>
                </tr>
              
                <tr>
                  <td>merchantName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户名称 </p></td>
                </tr>
              
                <tr>
                  <td>legalPerson</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>个体户经营者/法人姓名 </p></td>
                </tr>
              
                <tr>
                  <td>licenseCopyUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>营业执照照片 (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.CertificateInfo">CertificateInfo</h3>
        <p>登记证书 主体为党政、机关及事业单位/其他组织，必填</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>certCopy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>登记证书照片 </p></td>
                </tr>
              
                <tr>
                  <td>certType</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>登记证书类型 </p></td>
                </tr>
              
                <tr>
                  <td>certNumber</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证书号 </p></td>
                </tr>
              
                <tr>
                  <td>merchantName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户名称 </p></td>
                </tr>
              
                <tr>
                  <td>companyAddress</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>注册地址 </p></td>
                </tr>
              
                <tr>
                  <td>legalPerson</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>法人姓名 </p></td>
                </tr>
              
                <tr>
                  <td>periodBegin</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>有效期限开始日期 </p></td>
                </tr>
              
                <tr>
                  <td>periodEnd</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>有效期限结束日期 </p></td>
                </tr>
              
                <tr>
                  <td>certCopyUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件照片url (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ContactInfo">ContactInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>contact_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>超级管理员类型 </p></td>
                </tr>
              
                <tr>
                  <td>contact_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>超级管理员姓名 </p></td>
                </tr>
              
                <tr>
                  <td>contact_id_card_number</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>超级管理员身份证件号码 </p></td>
                </tr>
              
                <tr>
                  <td>mobile_phone</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>超级管理员手机 </p></td>
                </tr>
              
                <tr>
                  <td>contact_email</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>超级管理员邮箱 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.ContactInfoV2">ContactInfoV2</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>contactName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>超级管理员姓名 </p></td>
                </tr>
              
                <tr>
                  <td>contactIdNumber</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>超级管理员身份证件号码 </p></td>
                </tr>
              
                <tr>
                  <td>mobilePhone</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>联系手机 </p></td>
                </tr>
              
                <tr>
                  <td>contactEmail</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>联系邮箱 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.IDCardInfo">IDCardInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>id_card_copy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证人像面照片 </p></td>
                </tr>
              
                <tr>
                  <td>id_card_national</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证国徽面照片 </p></td>
                </tr>
              
                <tr>
                  <td>id_card_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证姓名 </p></td>
                </tr>
              
                <tr>
                  <td>id_card_number</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证号码 </p></td>
                </tr>
              
                <tr>
                  <td>id_card_valid_time</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证有效期限 </p></td>
                </tr>
              
                <tr>
                  <td>card_url</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证人像面照片url (返回值有) </p></td>
                </tr>
              
                <tr>
                  <td>national_url</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证国徽面照片url (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.IDCardInfoV2">IDCardInfoV2</h3>
        <p>身份证信息</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>idCardCopy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证人像面照片 </p></td>
                </tr>
              
                <tr>
                  <td>idCardNational</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证国徽面照片 </p></td>
                </tr>
              
                <tr>
                  <td>idCardName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证姓名 </p></td>
                </tr>
              
                <tr>
                  <td>idCardNumber</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证号码 </p></td>
                </tr>
              
                <tr>
                  <td>cardPeriodBegin</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证有效期开始时间 </p></td>
                </tr>
              
                <tr>
                  <td>cardPeriodEnd</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证有效期结束时间 </p></td>
                </tr>
              
                <tr>
                  <td>cardCopyUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证人像面照片url (返回值有) </p></td>
                </tr>
              
                <tr>
                  <td>nationalCopyUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证国徽面照片url (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.IDDocInfo">IDDocInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>id_doc_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件姓名 </p></td>
                </tr>
              
                <tr>
                  <td>id_doc_number</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件号码 </p></td>
                </tr>
              
                <tr>
                  <td>id_doc_copy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件照片 </p></td>
                </tr>
              
                <tr>
                  <td>doc_period_end</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件结束日期 </p></td>
                </tr>
              
                <tr>
                  <td>copy_url</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件照片url (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.IDDocInfoV2">IDDocInfoV2</h3>
        <p>其他类型证件信息</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>idDocCopy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件照片 </p></td>
                </tr>
              
                <tr>
                  <td>idDocName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件姓名 </p></td>
                </tr>
              
                <tr>
                  <td>idDocNumber</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件号码 </p></td>
                </tr>
              
                <tr>
                  <td>docPeriodBegin</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件有效期开始时间 </p></td>
                </tr>
              
                <tr>
                  <td>docPeriodEnd</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件有效期结束时间 </p></td>
                </tr>
              
                <tr>
                  <td>docCopyUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件图片url (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.IdentityInfo">IdentityInfo</h3>
        <p>经营者/法人身份证件</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>idDocType</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证据类型 </p></td>
                </tr>
              
                <tr>
                  <td>idCardInfo</td>
                  <td><a href="#wxpay.IDCardInfoV2">IDCardInfoV2</a></td>
                  <td></td>
                  <td><p>身份证信息 </p></td>
                </tr>
              
                <tr>
                  <td>idDocInfo</td>
                  <td><a href="#wxpay.IDDocInfoV2">IDDocInfoV2</a></td>
                  <td></td>
                  <td><p>其他类型证件 </p></td>
                </tr>
              
                <tr>
                  <td>owner</td>
                  <td><a href="#bool">bool</a></td>
                  <td></td>
                  <td><p>是否为最终受益人 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.MicroBizInfo">MicroBizInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>microBizType</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>小微经营类型 </p></td>
                </tr>
              
                <tr>
                  <td>microStoreInfo</td>
                  <td><a href="#wxpay.MicroStoreInfo">MicroStoreInfo</a></td>
                  <td></td>
                  <td><p>门店场所 </p></td>
                </tr>
              
                <tr>
                  <td>microMobileInfo</td>
                  <td><a href="#wxpay.MicroMobileInfo">MicroMobileInfo</a></td>
                  <td></td>
                  <td><p>流动性经营/便民服务 </p></td>
                </tr>
              
                <tr>
                  <td>microOnlineInfo</td>
                  <td><a href="#wxpay.MicroOnlineInfo">MicroOnlineInfo</a></td>
                  <td></td>
                  <td><p>线上商品服务交易 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.MicroMobileInfo">MicroMobileInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>microMobileName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>经营/服务名称 </p></td>
                </tr>
              
                <tr>
                  <td>microMobileCity</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>经营/服务所在地省市 </p></td>
                </tr>
              
                <tr>
                  <td>microMobileAddress</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>经营/服务所在地（不含省市] </p></td>
                </tr>
              
                <tr>
                  <td>microMobilePics</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>经营/服务现场照片 </p></td>
                </tr>
              
                <tr>
                  <td>microMobilePicsUrl</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>经营/服务现场照片 地址 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.MicroOnlineInfo">MicroOnlineInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>microOnlineStore</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>线上店铺名称 </p></td>
                </tr>
              
                <tr>
                  <td>microEcName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>电商平台名称 </p></td>
                </tr>
              
                <tr>
                  <td>microQrcode</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺二维码 </p></td>
                </tr>
              
                <tr>
                  <td>microQrcodeUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺二维码链接 (返回时有） </p></td>
                </tr>
              
                <tr>
                  <td>microLink</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺链接 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.MicroStoreInfo">MicroStoreInfo</h3>
        <p>门店场所</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>microName</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>门店名称 </p></td>
                </tr>
              
                <tr>
                  <td>microAddressCode</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>门店省市编码 </p></td>
                </tr>
              
                <tr>
                  <td>microAddress</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>门店地址 </p></td>
                </tr>
              
                <tr>
                  <td>microEntrancePic</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>门店门头照片 </p></td>
                </tr>
              
                <tr>
                  <td>microEntrancePicUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>门店门头照片地址(返回时有） </p></td>
                </tr>
              
                <tr>
                  <td>microIndoorCopy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店内环境照片 </p></td>
                </tr>
              
                <tr>
                  <td>microIndoorCopyUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店内环境照片地址 </p></td>
                </tr>
              
                <tr>
                  <td>storeLongitude</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>门店经度 </p></td>
                </tr>
              
                <tr>
                  <td>storeLatitude</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>门店纬度 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.MiniProgramInfo">MiniProgramInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>miniProgramAppId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商小程序APPID </p></td>
                </tr>
              
                <tr>
                  <td>miniProgramSubAppId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商家小程序 appid </p></td>
                </tr>
              
                <tr>
                  <td>miniProgramPics</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>小程序截图 </p></td>
                </tr>
              
                <tr>
                  <td>miniProgramPicsUrl</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>截图地址  (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.MpInfo">MpInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>mpAppId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商公众号APPID </p></td>
                </tr>
              
                <tr>
                  <td>mpSubAppId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商家公众号 appid </p></td>
                </tr>
              
                <tr>
                  <td>mpPics</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>公众号页面截图 </p></td>
                </tr>
              
                <tr>
                  <td>mpPicsUrl</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>截图地址  (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.OrganizationCertInfo">OrganizationCertInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>organization_copy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>组织机构代码证照片 </p></td>
                </tr>
              
                <tr>
                  <td>organization_number</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>组织机构代码 </p></td>
                </tr>
              
                <tr>
                  <td>organization_time</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>组织机构代码有效期限 </p></td>
                </tr>
              
                <tr>
                  <td>copy_url</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>照片url (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.OrganizationInfo">OrganizationInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>organizationCopy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>组织机构代码证照片 </p></td>
                </tr>
              
                <tr>
                  <td>organizationCode</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>组织机构代码 </p></td>
                </tr>
              
                <tr>
                  <td>orgPeriodBegin</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>组织机构代码证有效期开始日期 </p></td>
                </tr>
              
                <tr>
                  <td>orgPeriodEnd</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>组织机构代码证有效期结束日期 </p></td>
                </tr>
              
                <tr>
                  <td>organizationCopyUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>组织机构代码证照片 (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SalesInfo">SalesInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>salesScenesType</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>经营场景类型 </p></td>
                </tr>
              
                <tr>
                  <td>bizStoreInfo</td>
                  <td><a href="#wxpay.BizStoreInfo">BizStoreInfo</a></td>
                  <td></td>
                  <td><p>线下门店场景 </p></td>
                </tr>
              
                <tr>
                  <td>mpInfo</td>
                  <td><a href="#wxpay.MpInfo">MpInfo</a></td>
                  <td></td>
                  <td><p>公众号场景 </p></td>
                </tr>
              
                <tr>
                  <td>miniProgramInfo</td>
                  <td><a href="#wxpay.MiniProgramInfo">MiniProgramInfo</a></td>
                  <td></td>
                  <td><p>小程序场景 </p></td>
                </tr>
              
                <tr>
                  <td>appInfo</td>
                  <td><a href="#wxpay.AppInfo">AppInfo</a></td>
                  <td></td>
                  <td><p>APP 场景 </p></td>
                </tr>
              
                <tr>
                  <td>webInfo</td>
                  <td><a href="#wxpay.WebInfo">WebInfo</a></td>
                  <td></td>
                  <td><p>互联网场景 </p></td>
                </tr>
              
                <tr>
                  <td>weworkInfo</td>
                  <td><a href="#wxpay.WeworkInfo">WeworkInfo</a></td>
                  <td></td>
                  <td><p>企业微信场景 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SalesSceneInfo">SalesSceneInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>store_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺名称 </p></td>
                </tr>
              
                <tr>
                  <td>store_url</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺链接 </p></td>
                </tr>
              
                <tr>
                  <td>store_qr_code</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>店铺二维码 </p></td>
                </tr>
              
                <tr>
                  <td>mini_program_sub_appid</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>小程序AppID </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SettlementAccountModifyRequest">SettlementAccountModifyRequest</h3>
        <p>结算账号修改请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>sub_mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>特约商户号 </p></td>
                </tr>
              
                <tr>
                  <td>account_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>账户类型 </p></td>
                </tr>
              
                <tr>
                  <td>account_bank</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行 </p></td>
                </tr>
              
                <tr>
                  <td>bank_address_code</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行省市编码 </p></td>
                </tr>
              
                <tr>
                  <td>bank_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行全称（含支行） </p></td>
                </tr>
              
                <tr>
                  <td>bank_branch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行联行号 </p></td>
                </tr>
              
                <tr>
                  <td>account_number</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>银行账号 </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商商户号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SettlementAccountQueryRequest">SettlementAccountQueryRequest</h3>
        <p>查询结算账号</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>sub_mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>特约商户号 </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商商户号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SettlementAccountQueryResponse">SettlementAccountQueryResponse</h3>
        <p>结算账号查询结果</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>account_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>账户类型 </p></td>
                </tr>
              
                <tr>
                  <td>account_bank</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行 </p></td>
                </tr>
              
                <tr>
                  <td>bank_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行全称（含支行） </p></td>
                </tr>
              
                <tr>
                  <td>bank_branch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>开户银行联行号 </p></td>
                </tr>
              
                <tr>
                  <td>account_number</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>银行账号 </p></td>
                </tr>
              
                <tr>
                  <td>verify_result</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>汇款验证结果 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SettlementInfo">SettlementInfo</h3>
        <p>结算规则</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>settlementId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>入驻结算规则ID </p></td>
                </tr>
              
                <tr>
                  <td>qualificationType</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>所属行业 </p></td>
                </tr>
              
                <tr>
                  <td>qualifications</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>特殊资质图片 </p></td>
                </tr>
              
                <tr>
                  <td>activitiesId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>优惠费率活动ID </p></td>
                </tr>
              
                <tr>
                  <td>activitiesRate</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>优惠费率活动值 </p></td>
                </tr>
              
                <tr>
                  <td>activitiesAdditions</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>优惠费率活动补充材料 </p></td>
                </tr>
              
                <tr>
                  <td>qualificationsUrl</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>特殊资质图片地址 (返回值有) </p></td>
                </tr>
              
                <tr>
                  <td>activitiesAdditionsUrl</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>优惠费率活动补充材料 (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubMchAccountBalanceQueryRequest">SubMchAccountBalanceQueryRequest</h3>
        <p>二级商户账户实时余额查询请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>sub_mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>特约商户号 </p></td>
                </tr>
              
                <tr>
                  <td>account_type</td>
                  <td><a href="#wxpay.MchAccountType">MchAccountType</a></td>
                  <td></td>
                  <td><p>账户类型 BASIC：基本账户 OPERATION：运营账户 FEES：手续费账户 </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商商户号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubMchAccountBalanceQueryResponse">SubMchAccountBalanceQueryResponse</h3>
        <p>二级商户账户实时余额查询返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>sub_mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>特约商户号 </p></td>
                </tr>
              
                <tr>
                  <td>account_type</td>
                  <td><a href="#wxpay.MchAccountType">MchAccountType</a></td>
                  <td></td>
                  <td><p>账户类型 BASIC：基本账户 OPERATION：运营账户 FEES：手续费账户 </p></td>
                </tr>
              
                <tr>
                  <td>available_amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>可用余额 </p></td>
                </tr>
              
                <tr>
                  <td>pending_amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>不可用余额 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubMchApplymentQueryRequest">SubMchApplymentQueryRequest</h3>
        <p>微信特约商户进件查询请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brandId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>bizNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务申请id </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubMchApplymentQueryResponse">SubMchApplymentQueryResponse</h3>
        <p>微信特约商户进件查询返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>applyNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请单号 </p></td>
                </tr>
              
                <tr>
                  <td>bizApplyNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务申请单号 </p></td>
                </tr>
              
                <tr>
                  <td>brandId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>mchId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商商户号 </p></td>
                </tr>
              
                <tr>
                  <td>subMchId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>特约商户号 </p></td>
                </tr>
              
                <tr>
                  <td>signUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>超级管理员签约链接 </p></td>
                </tr>
              
                <tr>
                  <td>applyState</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请状态 </p></td>
                </tr>
              
                <tr>
                  <td>applyStateDesc</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请状态描述 </p></td>
                </tr>
              
                <tr>
                  <td>contactInfo</td>
                  <td><a href="#wxpay.ContactInfoV2">ContactInfoV2</a></td>
                  <td></td>
                  <td><p>超级管理员信息 </p></td>
                </tr>
              
                <tr>
                  <td>subjectInfo</td>
                  <td><a href="#wxpay.SubjectInfo">SubjectInfo</a></td>
                  <td></td>
                  <td><p>主体资料信息 </p></td>
                </tr>
              
                <tr>
                  <td>businessInfo</td>
                  <td><a href="#wxpay.BusinessInfo">BusinessInfo</a></td>
                  <td></td>
                  <td><p>经营资料 </p></td>
                </tr>
              
                <tr>
                  <td>settlementInfo</td>
                  <td><a href="#wxpay.SettlementInfo">SettlementInfo</a></td>
                  <td></td>
                  <td><p>结算规则 </p></td>
                </tr>
              
                <tr>
                  <td>bankAccountInfo</td>
                  <td><a href="#wxpay.AccountInfo">AccountInfo</a></td>
                  <td></td>
                  <td><p>结算银行账户 </p></td>
                </tr>
              
                <tr>
                  <td>additionInfo</td>
                  <td><a href="#wxpay.AdditionInfo">AdditionInfo</a></td>
                  <td></td>
                  <td><p>补充材料 </p></td>
                </tr>
              
                <tr>
                  <td>auditDetails</td>
                  <td><a href="#wxpay.AuditDetail">AuditDetail</a></td>
                  <td>repeated</td>
                  <td><p>驳回申请原因 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubMchApplymentSubmitRequest">SubMchApplymentSubmitRequest</h3>
        <p>微信特约/小微商户进件请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>bizApplyNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务申请单号 </p></td>
                </tr>
              
                <tr>
                  <td>brandId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>mchId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商商户号 </p></td>
                </tr>
              
                <tr>
                  <td>contactInfo</td>
                  <td><a href="#wxpay.ContactInfoV2">ContactInfoV2</a></td>
                  <td></td>
                  <td><p>超级管理员信息 </p></td>
                </tr>
              
                <tr>
                  <td>subjectInfo</td>
                  <td><a href="#wxpay.SubjectInfo">SubjectInfo</a></td>
                  <td></td>
                  <td><p>主体资料信息 </p></td>
                </tr>
              
                <tr>
                  <td>businessInfo</td>
                  <td><a href="#wxpay.BusinessInfo">BusinessInfo</a></td>
                  <td></td>
                  <td><p>经营资料 </p></td>
                </tr>
              
                <tr>
                  <td>settlementInfo</td>
                  <td><a href="#wxpay.SettlementInfo">SettlementInfo</a></td>
                  <td></td>
                  <td><p>结算规则 </p></td>
                </tr>
              
                <tr>
                  <td>bankAccountInfo</td>
                  <td><a href="#wxpay.AccountInfo">AccountInfo</a></td>
                  <td></td>
                  <td><p>结算银行账户 </p></td>
                </tr>
              
                <tr>
                  <td>additionInfo</td>
                  <td><a href="#wxpay.AdditionInfo">AdditionInfo</a></td>
                  <td></td>
                  <td><p>补充材料 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubMchApplymentSubmitResponse">SubMchApplymentSubmitResponse</h3>
        <p>微信特约商户进件返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>applyNo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请编号 </p></td>
                </tr>
              
                <tr>
                  <td>applyState</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请状态 </p></td>
                </tr>
              
                <tr>
                  <td>applyStateDesc</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请状态描述 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubMchWithdrawQueryRequest">SubMchWithdrawQueryRequest</h3>
        <p>二级商户提现查询请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>biz_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p> </p></td>
                </tr>
              
                <tr>
                  <td>sub_mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p> </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubMchWithdrawQueryResponse">SubMchWithdrawQueryResponse</h3>
        <p>二级商户提现查询返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>sub_mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>特约商户号 </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商商户号 </p></td>
                </tr>
              
                <tr>
                  <td>amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>提现金额 </p></td>
                </tr>
              
                <tr>
                  <td>biz_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务提现单号 </p></td>
                </tr>
              
                <tr>
                  <td>remark</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>提现备注 </p></td>
                </tr>
              
                <tr>
                  <td>bank_memo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>银行附言 展现在收款银行系统中的附言 能否成功展示依赖银行系统支持 </p></td>
                </tr>
              
                <tr>
                  <td>status</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>提现单状态 AWAIT：待提交 SUBMITTED：已提交 CREATE_SUCCESS：受理成功 SUCCESS：提现成功 FAIL：提现失败 REFUND：提现退票 CLOSE：关单 INIT：业务单已创建 </p></td>
                </tr>
              
                <tr>
                  <td>wx_withdraw_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>微信提现单号 </p></td>
                </tr>
              
                <tr>
                  <td>out_request_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>系统提现单号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubMchWithdrawRequest">SubMchWithdrawRequest</h3>
        <p>二级商户提现请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>sub_mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>特约商户号 </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商商户号 </p></td>
                </tr>
              
                <tr>
                  <td>amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>提现金额 </p></td>
                </tr>
              
                <tr>
                  <td>biz_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务提现单号，用作幂等 </p></td>
                </tr>
              
                <tr>
                  <td>remark</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>提现备注 </p></td>
                </tr>
              
                <tr>
                  <td>bank_memo</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>银行附言 展现在收款银行系统中的附言 能否成功展示依赖银行系统支持 </p></td>
                </tr>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubMchWithdrawResponse">SubMchWithdrawResponse</h3>
        <p>二级商户提现返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>out_request_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p> </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SubjectInfo">SubjectInfo</h3>
        <p>主体资料</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>subjectType</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>主体类型 </p></td>
                </tr>
              
                <tr>
                  <td>businessLicenseInfo</td>
                  <td><a href="#wxpay.BusinessLicenseInfo">BusinessLicenseInfo</a></td>
                  <td></td>
                  <td><p>营业执照 </p></td>
                </tr>
              
                <tr>
                  <td>certificateInfo</td>
                  <td><a href="#wxpay.CertificateInfo">CertificateInfo</a></td>
                  <td></td>
                  <td><p>登记证书 </p></td>
                </tr>
              
                <tr>
                  <td>organizationInfo</td>
                  <td><a href="#wxpay.OrganizationInfo">OrganizationInfo</a></td>
                  <td></td>
                  <td><p>组织机构代码证 </p></td>
                </tr>
              
                <tr>
                  <td>certificateLetterCopy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>单位证明函照片 </p></td>
                </tr>
              
                <tr>
                  <td>identityInfo</td>
                  <td><a href="#wxpay.IdentityInfo">IdentityInfo</a></td>
                  <td></td>
                  <td><p>经营者/法人身份证件 </p></td>
                </tr>
              
                <tr>
                  <td>uboInfo</td>
                  <td><a href="#wxpay.UboInfo">UboInfo</a></td>
                  <td></td>
                  <td><p>最终受益人信息 </p></td>
                </tr>
              
                <tr>
                  <td>certificateLetterCopyUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>单位证明函照片 (返回值有) </p></td>
                </tr>
              
                <tr>
                  <td>microBizInfo</td>
                  <td><a href="#wxpay.MicroBizInfo">MicroBizInfo</a></td>
                  <td></td>
                  <td><p>小微辅助材料 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.UboInfo">UboInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>idType</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件类型 </p></td>
                </tr>
              
                <tr>
                  <td>idCardCopy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证人像面照片 </p></td>
                </tr>
              
                <tr>
                  <td>idCardNational</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证国徽面照片 </p></td>
                </tr>
              
                <tr>
                  <td>idDocCopy</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件照片 </p></td>
                </tr>
              
                <tr>
                  <td>name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>受益人姓名 </p></td>
                </tr>
              
                <tr>
                  <td>idNumber</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件号码 </p></td>
                </tr>
              
                <tr>
                  <td>idPeriodBegin</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件有效期开始时间 </p></td>
                </tr>
              
                <tr>
                  <td>idPeriodEnd</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件有效期结束时间 </p></td>
                </tr>
              
                <tr>
                  <td>cardCopyUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证人像url (返回值有) </p></td>
                </tr>
              
                <tr>
                  <td>cardNationalUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>身份证国徽像 url (返回值有) </p></td>
                </tr>
              
                <tr>
                  <td>docCopyUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>证件照片 url (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.WebInfo">WebInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>domain</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>互联网网站域名 </p></td>
                </tr>
              
                <tr>
                  <td>webAuthorisation</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>网站授权函 </p></td>
                </tr>
              
                <tr>
                  <td>webAppId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>应用页面截图 </p></td>
                </tr>
              
                <tr>
                  <td>webAuthorisationUrl</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>授权函地址 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.WeworkInfo">WeworkInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>subCorpId</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商家企业微信corpid </p></td>
                </tr>
              
                <tr>
                  <td>weworkPics</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>企业微信页截图 </p></td>
                </tr>
              
                <tr>
                  <td>weworkPicsUrl</td>
                  <td><a href="#string">string</a></td>
                  <td>repeated</td>
                  <td><p>企业微信页截图地址 (返回值有) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      

      
        <h3 id="wxpay.MchAccountType">MchAccountType</h3>
        <p>商户账户类型</p>
        <table class="enum-table">
          <thead>
            <tr><td>Name</td><td>Number</td><td>Description</td></tr>
          </thead>
          <tbody>
            
              <tr>
                <td>BASIC</td>
                <td>0</td>
                <td><p>基本账户</p></td>
              </tr>
            
              <tr>
                <td>OPERATION</td>
                <td>1</td>
                <td><p>运营账户</p></td>
              </tr>
            
              <tr>
                <td>FEES</td>
                <td>2</td>
                <td><p>手续费账户</p></td>
              </tr>
            
          </tbody>
        </table>
      

      

      
    
      
      <div class="file-heading">
        <h2 id="trade.proto">trade.proto</h2><a href="#title">Top</a>
      </div>
      <p></p>

      
        <h3 id="wxpay.AmountInfo">AmountInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>total</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>总金额 </p></td>
                </tr>
              
                <tr>
                  <td>currency</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>货币类型 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.JSAPIPreCreateRequest">JSAPIPreCreateRequest</h3>
        <p>jsapi 预下单请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>app_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商app_id </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商mch_id </p></td>
                </tr>
              
                <tr>
                  <td>sub_app_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>二级商户app_id </p></td>
                </tr>
              
                <tr>
                  <td>sub_mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>二级商户mch_id </p></td>
                </tr>
              
                <tr>
                  <td>description</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商品描述 </p></td>
                </tr>
              
                <tr>
                  <td>out_trade_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务订单号 </p></td>
                </tr>
              
                <tr>
                  <td>time_expire</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>交易结束时间 </p></td>
                </tr>
              
                <tr>
                  <td>attach</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>附加数据 </p></td>
                </tr>
              
                <tr>
                  <td>settle_info</td>
                  <td><a href="#wxpay.SettleInfo">SettleInfo</a></td>
                  <td></td>
                  <td><p>结算信息 </p></td>
                </tr>
              
                <tr>
                  <td>amount</td>
                  <td><a href="#wxpay.AmountInfo">AmountInfo</a></td>
                  <td></td>
                  <td><p>订单金额 </p></td>
                </tr>
              
                <tr>
                  <td>payer</td>
                  <td><a href="#wxpay.Payer">Payer</a></td>
                  <td></td>
                  <td><p>支付者 </p></td>
                </tr>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p> </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.JSAPIPreCreateResponse">JSAPIPreCreateResponse</h3>
        <p>jsapi 预下单请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>app_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>服务商 app_id </p></td>
                </tr>
              
                <tr>
                  <td>timeStamp</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>时间戳 </p></td>
                </tr>
              
                <tr>
                  <td>nonce</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>随机字符串 </p></td>
                </tr>
              
                <tr>
                  <td>package</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>prepay_id </p></td>
                </tr>
              
                <tr>
                  <td>sign_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>签名类型 </p></td>
                </tr>
              
                <tr>
                  <td>pay_sign</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>签名 </p></td>
                </tr>
              
                <tr>
                  <td>expire_time</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>过期时间 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.Payer">Payer</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>open_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>用户在服务商app_id下的open_id </p></td>
                </tr>
              
                <tr>
                  <td>sub_open_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>用户在二级商户sub_app_id下的open_id </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.SettleInfo">SettleInfo</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>profit_sharing</td>
                  <td><a href="#bool">bool</a></td>
                  <td></td>
                  <td><p>是否指定分账 </p></td>
                </tr>
              
                <tr>
                  <td>subsidy_amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>补差金额 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.TradeCloseRequest">TradeCloseRequest</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>out_trade_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户订单编号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.TradeQueryRequest">TradeQueryRequest</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>out_trade_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户订单编号 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.TradeQueryResponse">TradeQueryResponse</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>brand_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>品牌id </p></td>
                </tr>
              
                <tr>
                  <td>out_trade_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商户订单编号 </p></td>
                </tr>
              
                <tr>
                  <td>time_expire</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>交易结束时间 </p></td>
                </tr>
              
                <tr>
                  <td>time_success</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>交易成功时间 </p></td>
                </tr>
              
                <tr>
                  <td>wx_trans_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>微信支付单编号 </p></td>
                </tr>
              
                <tr>
                  <td>attach</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>商品描述 </p></td>
                </tr>
              
                <tr>
                  <td>trade_type</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>交易类型 </p></td>
                </tr>
              
                <tr>
                  <td>trade_state</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>交易状态 </p></td>
                </tr>
              
                <tr>
                  <td>trade_state_desc</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>交易状态描述 </p></td>
                </tr>
              
                <tr>
                  <td>amount</td>
                  <td><a href="#wxpay.AmountInfo">AmountInfo</a></td>
                  <td></td>
                  <td><p>金额信息 </p></td>
                </tr>
              
                <tr>
                  <td>payer</td>
                  <td><a href="#wxpay.Payer">Payer</a></td>
                  <td></td>
                  <td><p>支付者 </p></td>
                </tr>
              
                <tr>
                  <td>settle_info</td>
                  <td><a href="#wxpay.SettleInfo">SettleInfo</a></td>
                  <td></td>
                  <td><p>结算信息 </p></td>
                </tr>
              
                <tr>
                  <td>service_rate</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>服务费率 </p></td>
                </tr>
              
                <tr>
                  <td>service_fee</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>服务费 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      

      

      

      
    
      
      <div class="file-heading">
        <h2 id="transfer.proto">transfer.proto</h2><a href="#title">Top</a>
      </div>
      <p></p>

      
        <h3 id="wxpay.TransferApplyRequest">TransferApplyRequest</h3>
        <p>转账申请请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>app_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>直连商户号绑定的AppID </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>直连商户号 </p></td>
                </tr>
              
                <tr>
                  <td>amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>转账金额 </p></td>
                </tr>
              
                <tr>
                  <td>remark</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>转账备注 </p></td>
                </tr>
              
                <tr>
                  <td>open_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>用户openID </p></td>
                </tr>
              
                <tr>
                  <td>user_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>用户姓名 </p></td>
                </tr>
              
                <tr>
                  <td>user_id_card</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>用户身份证（可选） </p></td>
                </tr>
              
                <tr>
                  <td>biz_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务单号 (用作幂等) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.TransferApplyResponse">TransferApplyResponse</h3>
        <p></p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>out_detail_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>转账详情单号 (可用作查询转账详情) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.TransferQueryRequest">TransferQueryRequest</h3>
        <p>转账查询请求</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>biz_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务单号 (用作幂等) </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      
        <h3 id="wxpay.TransferQueryResponse">TransferQueryResponse</h3>
        <p>转账查询返回</p>

        
          <table class="field-table">
            <thead>
              <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
            </thead>
            <tbody>
              
                <tr>
                  <td>app_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>直连商户号绑定的AppID </p></td>
                </tr>
              
                <tr>
                  <td>mch_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>直连商户号 </p></td>
                </tr>
              
                <tr>
                  <td>amount</td>
                  <td><a href="#int64">int64</a></td>
                  <td></td>
                  <td><p>转账金额 </p></td>
                </tr>
              
                <tr>
                  <td>remark</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>转账备注 </p></td>
                </tr>
              
                <tr>
                  <td>open_id</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>用户openID </p></td>
                </tr>
              
                <tr>
                  <td>user_name</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>用户姓名 </p></td>
                </tr>
              
                <tr>
                  <td>user_id_card</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>用户身份证 </p></td>
                </tr>
              
                <tr>
                  <td>biz_no</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>业务单号 </p></td>
                </tr>
              
                <tr>
                  <td>out_detail</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请单详情编号 </p></td>
                </tr>
              
                <tr>
                  <td>status</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>申请单详情状态 - AWAIT:待我方发起批量,PROCESSING:微信侧处理中,FAIL:转账失败,SUCCESS:转账成功 </p></td>
                </tr>
              
                <tr>
                  <td>reason</td>
                  <td><a href="#string">string</a></td>
                  <td></td>
                  <td><p>失败原因 </p></td>
                </tr>
              
            </tbody>
          </table>

          

        
      

      

      

      
    

    <h2 id="scalar-value-types">Scalar Value Types</h2>
    <table class="scalar-value-types-table">
      <thead>
        <tr><td>.proto Type</td><td>Notes</td><td>C++</td><td>Java</td><td>Python</td><td>Go</td><td>C#</td><td>PHP</td><td>Ruby</td></tr>
      </thead>
      <tbody>
        
          <tr id="double">
            <td>double</td>
            <td></td>
            <td>double</td>
            <td>double</td>
            <td>float</td>
            <td>float64</td>
            <td>double</td>
            <td>float</td>
            <td>Float</td>
          </tr>
        
          <tr id="float">
            <td>float</td>
            <td></td>
            <td>float</td>
            <td>float</td>
            <td>float</td>
            <td>float32</td>
            <td>float</td>
            <td>float</td>
            <td>Float</td>
          </tr>
        
          <tr id="int32">
            <td>int32</td>
            <td>Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.</td>
            <td>int32</td>
            <td>int</td>
            <td>int</td>
            <td>int32</td>
            <td>int</td>
            <td>integer</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="int64">
            <td>int64</td>
            <td>Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.</td>
            <td>int64</td>
            <td>long</td>
            <td>int/long</td>
            <td>int64</td>
            <td>long</td>
            <td>integer/string</td>
            <td>Bignum</td>
          </tr>
        
          <tr id="uint32">
            <td>uint32</td>
            <td>Uses variable-length encoding.</td>
            <td>uint32</td>
            <td>int</td>
            <td>int/long</td>
            <td>uint32</td>
            <td>uint</td>
            <td>integer</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="uint64">
            <td>uint64</td>
            <td>Uses variable-length encoding.</td>
            <td>uint64</td>
            <td>long</td>
            <td>int/long</td>
            <td>uint64</td>
            <td>ulong</td>
            <td>integer/string</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="sint32">
            <td>sint32</td>
            <td>Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.</td>
            <td>int32</td>
            <td>int</td>
            <td>int</td>
            <td>int32</td>
            <td>int</td>
            <td>integer</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="sint64">
            <td>sint64</td>
            <td>Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.</td>
            <td>int64</td>
            <td>long</td>
            <td>int/long</td>
            <td>int64</td>
            <td>long</td>
            <td>integer/string</td>
            <td>Bignum</td>
          </tr>
        
          <tr id="fixed32">
            <td>fixed32</td>
            <td>Always four bytes. More efficient than uint32 if values are often greater than 2^28.</td>
            <td>uint32</td>
            <td>int</td>
            <td>int</td>
            <td>uint32</td>
            <td>uint</td>
            <td>integer</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="fixed64">
            <td>fixed64</td>
            <td>Always eight bytes. More efficient than uint64 if values are often greater than 2^56.</td>
            <td>uint64</td>
            <td>long</td>
            <td>int/long</td>
            <td>uint64</td>
            <td>ulong</td>
            <td>integer/string</td>
            <td>Bignum</td>
          </tr>
        
          <tr id="sfixed32">
            <td>sfixed32</td>
            <td>Always four bytes.</td>
            <td>int32</td>
            <td>int</td>
            <td>int</td>
            <td>int32</td>
            <td>int</td>
            <td>integer</td>
            <td>Bignum or Fixnum (as required)</td>
          </tr>
        
          <tr id="sfixed64">
            <td>sfixed64</td>
            <td>Always eight bytes.</td>
            <td>int64</td>
            <td>long</td>
            <td>int/long</td>
            <td>int64</td>
            <td>long</td>
            <td>integer/string</td>
            <td>Bignum</td>
          </tr>
        
          <tr id="bool">
            <td>bool</td>
            <td></td>
            <td>bool</td>
            <td>boolean</td>
            <td>boolean</td>
            <td>bool</td>
            <td>bool</td>
            <td>boolean</td>
            <td>TrueClass/FalseClass</td>
          </tr>
        
          <tr id="string">
            <td>string</td>
            <td>A string must always contain UTF-8 encoded or 7-bit ASCII text.</td>
            <td>string</td>
            <td>String</td>
            <td>str/unicode</td>
            <td>string</td>
            <td>string</td>
            <td>string</td>
            <td>String (UTF-8)</td>
          </tr>
        
          <tr id="bytes">
            <td>bytes</td>
            <td>May contain any arbitrary sequence of bytes.</td>
            <td>string</td>
            <td>ByteString</td>
            <td>str</td>
            <td>[]byte</td>
            <td>ByteString</td>
            <td>string</td>
            <td>String (ASCII-8BIT)</td>
          </tr>
        
      </tbody>
    </table>
  </body>
</html>

